package com.ym.pms.dao;

import com.ym.pms.model.Room;
import com.ym.pms.model.Suite;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface SuiteMapper {
    int deleteByPrimaryKey(String suCoding);

    int insert(Suite record);

    int insertSelective(Suite record);

    Suite selectByPrimaryKey(String suCoding);

    int updateByPrimaryKeySelective(Suite record);

    int updateByPrimaryKey(Suite record);

    List<Suite> querySuiteList();

    Integer getBuildingMaxNo();

    List<Suite> fuzzyQuery(Suite suite);

    List<Suite> findByStartUsing();

    List<Suite> findByStartUsingAndVacant();

    Room getRmSu(String rmSucoding);

    String getSuEstate(String suCoding);

    void changeSuSouse(Object states, String suCoding);

    String getRmEState(String bkRmcoding);

    String getSUSOUse(String suCoding);

    void deleteAllByBuCoding(String buCoding);

    List<String> getAllCoding(String id);

    List<Suite> findAllUsing();
}